package com.company;

public class digitize {
    public static void main (String [] args){
                int[][] arr = {{22,66,59},{45,99,80},{88,64,48}} ;
                for(int x = 0 ; x < arr[0].length; x ++){
                    System.out.println(arr[0][x]) ;
                }
                System.out.println("--------------------");
                for(int x = 0 ; x <arr[1].length; x ++){
                    System.out.println(arr[1][x]) ;
                }
                System.out.println("--------------------");
                for(int x = 0 ; x <arr[2].length; x ++){
                    System.out.println(arr[2][x]) ;
                }
                System.out.println("--------------------");
                for(int x = 0 ; x < 3 ; x ++){
                    for(int y = 0 ; y < arr[x].length; y++){
                        System.out.print(arr[x][y]+" ") ;
                    }
                }
                System.out.println();
                for(int x = 0 ; x <arr.length; x++){
                    for(int y = 0 ; y < arr[x].length ;  y++){
                        System.out.print(arr[x][y]+" ") ;
                    }
                }
                System.out.println();


                printArray2(arr) ;
            }

            public static void printArray2(int[][] arr){
                for(int x = 0 ; x <arr.length; x++){
                    for(int y = 0 ; y < arr[x].length ;  y++){
                        System.out.print(arr[x][y]+" ") ;
                    }
                }
            }
        }
